<template>
    <div class="pack">
        <!-- 后台用户列表 -->
        <template>
            <el-table :data="tableData" stripe style="width: 100%">
                <el-table-column prop="username" label="姓名" width="180"></el-table-column>
                <el-table-column prop="registerTime" label="注册时间"></el-table-column>
                <el-table-column prop="loginTime" label="登录时间"></el-table-column>
            </el-table>
        </template>
    </div>
</template>

    </div>
</template>
<script>
import { fetchPost } from '../../http';
export default {
    data() {
        return {
            tableData:null
        }
    },
    created() {
        let self = this;
        fetchPost("/backUser/list").then((res) => {
            self.tableData = res.data;
        });
    }
};
</script>